<template>
	<view>
		
		
	</view>
	
</template>

<script>
	export default {
		name: "gt-admin-nav",
		model: {
			prop: 'template',
			event: 'change'
		},
		props: {
			template: {},
		},
		data() {
			return {
				selectList:{}
			}
		},
		watch:{
			template(n,o){
				if(n.selectList != this.selectList){
					let _this = this;
					this.selectList= {};
					setTimeout(()=>{
						_this.selectList = n.selectList;
					},100)
				}
				
				
			}
		},
		methods: {
			searchFormSubmit(e){
				let temp = this.template;
				temp['searchFormData'] = {
					...temp['searchFormData'],
					...e.data
				};
				this.$emit('change',temp)
				this.$emit('clickBack',{
					type:'search'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	
</style>
